package com.penghaisoft.microwms.base.web.factory.dao;


import com.penghaisoft.microwms.common.mapper.BaseMapper;
import com.penghaisoft.microwms.common.base.model.BaseFactoryGroup;

import java.util.List;

/**
 * <p>Mapper</p>
 *  
 *  @author 
 *  @createDate 
 **/
public interface BaseFactoryGroupMapper  extends BaseMapper<BaseFactoryGroup> {
	/**
	 * 根据groupCode查询
	 * @param groupCode
	 * @return
	 */
	public BaseFactoryGroup queryByGroupCode(String groupCode);
	
	/*
	 * 查询所有工厂组
	 * 王治国 20171228
	 *
	 * */
	 public List<BaseFactoryGroup> getGroups();
}